﻿# FindFluoCam.cmake

find_path(FluoCam_INCLUDE_DIRS
            NAMES 
                fluocam.h
            HINTS 
                "${CMAKE_CURRENT_SOURCE_DIR}/CameraFluo/sdk/inc/"
                "${CMAKE_CURRENT_SOURCE_DIR}/sdk/inc/"
            )

find_library(FluoCam_LIBRARIES
            NAMES
                fluocam.lib
            PATHS
                "${CMAKE_CURRENT_SOURCE_DIR}/CameraFluo/sdk/win/x64"
                "${CMAKE_CURRENT_SOURCE_DIR}/sdk/win/x64"
            )


include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(FluoCam
            FOUND_VAR
                FluoCam_FOUND
            REQUIRED_VARS
                FluoCam_INCLUDE_DIRS
                FluoCam_LIBRARIES
                )


mark_as_advanced(FluoCam_LIBRARIES) # show entry in cmake-gui

